
<script language="javascript">

</script>
<table width="1324" height="653" border="0" cellpadding="0" cellspacing="0" style="border-color:#FFCCFF;border-width:+5">
    <tr>
      <td width="175" height="647"><table width="200" height="634" border="0" cellpadding="0" cellspacing="0" style="border:outset;border-width:+7;background-image:url(hinh/3.jpg);border-color:#FFFFCC">
          <tr>
            <td>&nbsp;</td>
          </tr>
      </table></td>
      <td width="959"><table width="911" height="634" border="0" align="center" cellpadding="0" cellspacing="0" style="border:outset;border-width:+7;border-color:#FFFFCC">
          <tr>
            <td width="907" align="center" valign="top" class=""="noidung"><div align="center"><br/>

<table width="892" border="0" cellpadding="2" cellspacing="2">
<?php
$chude=$_POST["chude"];
require("conn.php");
$bang=mysql_query("SELECT * FROM `sanpham` where chude='$chude'");
while($rows=mysql_fetch_array($bang))
{
?>
    <tr>
      <td height="168"><table width="436" border="0" align="center" cellpadding="0" cellspacing="0" style="border:inset;border-width:+4;border-style:solid;border-color:#83D6E7">
        <tr style="background-image:url(hinh/nen3.jpg)">
          <td colspan="3" align="left" style="border-bottom:outset;border-bottom-color:#FF99FF"><b><font size="+2" color="#000000"><?php echo($rows["ten"]);?></font></b></td>
        </tr>
        <tr>
          <td width="99" rowspan="6" align="center" valign="middle"><div align="center">
            <p><img src="hinh/hinhsanpham/<?php echo($rows["hinh1"]);?>" width="88" height="93" alt="" style="border:outset;border-width:1;border-color:#FFFFCC"" /></p>
            <p>
              <label>
              <input type="button" value="Chọn Mua" class="buy" onclick="giohang(<?php echo($rows["ma"]);?>)">
              </label>
            </p>
          </div></td>
          <td width="323" height="72" colspan="2" align="left" valign="top"><strong>Mo ta: </strong><?php echo($rows["mota"]);?></td>
        </tr>
        
        <tr>
          <td height="21" colspan="2" valign="top" align="left"><strong>D&#417;n gia</strong>: <?php echo($rows["dongia"]." (USD)");?>---<strong>So luong con:</strong> <?php echo($rows["soluong"]);?></td>
        </tr>
        <tr>
          <td height="21" colspan="2" valign="top"><div align="left"><strong>Lien he:</strong> <?php echo($rows["lienhe"]);?></div></td>
        </tr>
      </table></td>
	  <?php
	  if($rows=mysql_fetch_array($bang))
	  {
	  ?>
	  <td><table width="437" height="154" border="0" align="center" cellpadding="0" cellspacing="0" style="border:inset;border-width:+4;border-style:solid;border-color:#83D6E7">
        <tr style="background-image:url(hinh/nen3.jpg)">
          <td height="24" colspan="3" align="left" style="border-bottom:outset"><b><font size="+2" color="#000000"><?php echo($rows["ten"]);?></font></b></td>
        </tr>
        <tr>
          <td width="99" rowspan="6" align="center" valign="middle"><div align="center">
            <p><img src="hinh/hinhsanpham/<?php echo($rows["hinh1"]);?>" width="88" height="92" alt="" style="border:outset;border-width:1;border-color:#FFFFCC"" /></p>
            <p>
              <input type="button" value="Chọn Mua" class="buy" onclick="giohang(<?php echo($rows["ma"]);?>)">
            </p>
          </div></td>
          <td width="324" height="73" colspan="2" align="left" valign="top"><strong>Mo ta: </strong><?php echo($rows["mota"]);?></td>
        </tr>
        
        <tr>
          <td height="19" colspan="2" valign="top" align="left"><strong>D&#417;n gia:</strong> <?php echo($rows["dongia"]." (USD)");?>---<strong>So luong con</strong>: <?php echo($rows["soluong"]);?></td>
        </tr>
        <tr>
          <td height="25" colspan="2"  valign="top"><div align="left"><strong>Lien he</strong>: <?php echo($rows["lienhe"]);?></div></td>
        </tr>
      </table></td>
	  <?php
	  }
	  else
	  {
	  break;
	  }
	  ?>
    </tr>
<?php
}
?>
  </table>
  <p>&nbsp;  </p></td>
          </tr>
      </table></td>
      <td width="168"><table width="190" height="634" border="0" cellpadding="0" cellspacing="0" style="border:outset;border-width:+7;background-image:url(hinh/3.jpg);border-color:#FFFFCC"">
          <tr>
            <td>&nbsp;</td>
          </tr>
      </table></td>
    </tr>
</table>
